package com.abigdreamer.im.server.ui.desktop;

import java.awt.event.MouseEvent;

import javax.swing.JInternalFrame;

public class IEItem extends EIMDesktopItem {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	public IEItem() {
		super();
	}


	public IEItem(EIMDesktop desktop,ItemConfig cofig) {
		super(desktop,cofig);
	}

	public void mouseClicked(MouseEvent e) {
		super.mouseClicked(e);
		if(e.getClickCount()==2){
			JInternalFrame childFrame = new JInternalFrame("浏览器", true);
			childFrame.setClosable(true);
			childFrame.setBounds(100, 100, 200, 200);
			this.getDesktop().add(childFrame, new Integer(10));
			childFrame.show();
		}
		
	}
	
	public void mousePressed(MouseEvent e) {

	}

	
	public void mouseReleased(MouseEvent e) {

	}

}
